/** 复制文本至剪贴板 */
export const copyText = (text: string) => {
    let inputDom = document.createElement('input')
    inputDom.value = text
    document.body.appendChild(inputDom)
    inputDom.select()
    document.execCommand('Copy')
    document.body.removeChild(inputDom)
}
